package com.sdcqjy.mylibrary.http;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * Created by 52463 on 2018/3/23.
 * 下载时的信息，并且用于存库
 */
@DatabaseTable(tableName = "DownloadTable")
public class DownloadMode {
    @DatabaseField(columnName = "name")
    public String name;//这是url的MD5值
    @DatabaseField(columnName = "url")
    public String url;//下载地址
    @DatabaseField(columnName = "path")
    public String path;//储存路径和名称
    @DatabaseField(columnName = "total")
    public long total;//总长度
    @DatabaseField(columnName = "currLen")
    public long currLen;//当前长度
}
